package com.bst.bsj.bops.web.biz.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bst.bsj.common.dal.daointerface.UserVisitDao;
import com.bst.bsj.bops.web.biz.UserVisitService;
import com.bst.bsj.bops.web.biz.mongo.AbstractMongoDao;
import com.bst.bsj.common.dal.dataobject.UserVisit;

@Service
public class UserVisitServiceImpl extends AbstractMongoDao<UserVisit> implements UserVisitService {

  @Autowired
  private UserVisitDao userVisitDao;
  
  @Override
  public Long queryVisit(Map<String, Object> paramMap) {
    return userVisitDao.queryVisit(paramMap);
  }

  @Override
  protected Class<UserVisit> getEntityClass() {
    return UserVisit.class;
  }

}
